#include"vector.h"

int main(void)
{
	bit::vector<std::string> v1(4,"is 0");
	int size1 = v1.size();
	int capacity1 = v1.capacity();
	v1.push_back("is one");
	v1.push_back("is two");
	v1.push_back("is three");
	v1.push_back("is four");
	v1.push_back("is five");
	v1.push_back("is six");
	size1 = v1.size();
	capacity1 = v1.capacity();
	bit::vector<std::string> v2(v1.begin(), v1.end());
	int size2 = v2.size();
	int capacity2 = v2.capacity();
	bit::vector<std::string> v3(v2);
	int size3 = v3.size();
	int capacity3 = v3.capacity();
	bit::vector<std::string> v4;
	v4 = v3;
	int size4 = v4.size();
	int capacity4 = v4.capacity();

	bit::vector<std::string> v5(5, "da");
	v5.swap(v4);
	int size5 = v5.size();
	int capacity5 = v5.capacity();
	size4 = v4.size();
	capacity4 = v4.capacity();
	v5.resize(5);
	size5 = v5.size();
	capacity5 = v5.capacity();
	v5.resize(5);
	size5 = v5.size();
	capacity5 = v5.capacity();
	v5.insert(v5.begin(), "OK");
	size5 = v5.size();
	capacity5 = v5.capacity();
	v5.erase(v5.end()-1);
	size5 = v5.size();
	capacity5 = v5.capacity();
	return 0;
}